package com.zhiyou100.dao;

import com.zhiyou100.emtity.User;

import java.util.List;

/**
 * @description:
 * @author: 马跃
 * @create: 2021-01-20 10:23
 **/
public interface UserDao {
    List<User> queryAll();

    void delete(int id);

    void add(User user);

    User query(int id);

    void upDate(User user);

    int findAllUserCount();

    List<User> findAllUser(int currentPage);
}
